class Admin::MediaController < ApplicationController
  layout "main"
  require_role "Administrator"
  active_scaffold :media do |config|
    config.columns = [:title, :description, :rating, :tags, :comments, :user, :mediable]
    config.list.columns.add :views
  end
end
